package com.thememaker.lockstyle.bean.ui;

import com.thememaker.lockstyle.bean.command.EndPoint;
import com.thememaker.lockstyle.bean.command.StartPoint;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by jiajun.jiang on 2018/3/2.
 */
@XmlRootElement(name = "Slider")
public class Slider extends BaseView {

    private String bounceInitSpeed;

    private String bounceAccelation;

    private StartPoint startPoint;

    private EndPoint endPoint;

    private String alwaysShow;

    @XmlAttribute(name = "alwaysShow")
    public String getAlwaysShow() {
        return alwaysShow;
    }

    public void setAlwaysShow(String alwaysShow) {
        this.alwaysShow = alwaysShow;
    }

    @XmlAttribute(name = "bounceInitSpeed")
    public String getBounceInitSpeed() {
        return bounceInitSpeed;
    }

    public void setBounceInitSpeed(String bounceInitSpeed) {
        this.bounceInitSpeed = bounceInitSpeed;
    }

    @XmlAttribute(name = "bounceAccelation")
    public String getBounceAccelation() {
        return bounceAccelation;
    }

    public void setBounceAccelation(String bounceAccelation) {
        this.bounceAccelation = bounceAccelation;
    }

    @XmlElement(name = "StartPoint")
    public StartPoint getStartPoint() {
        return startPoint;
    }

    public void setStartPoint(StartPoint startPoint) {
        this.startPoint = startPoint;
    }

    @XmlElement(name = "EndPoint")
    public EndPoint getEndPoint() {
        return endPoint;
    }

    public void setEndPoint(EndPoint endPoint) {
        this.endPoint = endPoint;
    }

}
